using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_NhaCungCapEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_NhaCungCapEntity()
         {
             tableName = "TBL_NhaCungCap";


			 fieldInfos.Add(new FieldInfo("TBL_NhaCungCap","DiaChi","DiaChi","string",200,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_NhaCungCap","DienThoai","DienThoai","string",11,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_NhaCungCap","Email","Email","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_NhaCungCap","MaNCC","MaNCC","string",10,true,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_NhaCungCap","NguoiDaiDien","NguoiDaiDien","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_NhaCungCap","TenNCC","TenNCC","string",50,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected string m_DiaChi;
		 protected string m_DienThoai;
		 protected string m_Email;
		 protected string m_MaNCC;
		 protected string m_NguoiDaiDien;
		 protected string m_TenNCC;

		 public string DiaChi

          { 
                get { 
                    return m_DiaChi;}

                set{m_DiaChi=value;

                    GetField("DiaChi").Set();
                    GetField("DiaChi").IsNull=(value == null);           
                    }
          }
		 public string DienThoai

          { 
                get { 
                    return m_DienThoai;}

                set{m_DienThoai=value;

                    GetField("DienThoai").Set();
                    GetField("DienThoai").IsNull=(value == null);           
                    }
          }
		 public string Email

          { 
                get { 
                    return m_Email;}

                set{m_Email=value;

                    GetField("Email").Set();
                    GetField("Email").IsNull=(value == null);           
                    }
          }
		 public string MaNCC

          { 
                get { 
                    return m_MaNCC;}

                set{m_MaNCC=value;

                    GetField("MaNCC").Set();
                    GetField("MaNCC").IsNull=(value == null);           
                    }
          }
		 public string NguoiDaiDien

          { 
                get { 
                    return m_NguoiDaiDien;}

                set{m_NguoiDaiDien=value;

                    GetField("NguoiDaiDien").Set();
                    GetField("NguoiDaiDien").IsNull=(value == null);           
                    }
          }
		 public string TenNCC

          { 
                get { 
                    return m_TenNCC;}

                set{m_TenNCC=value;

                    GetField("TenNCC").Set();
                    GetField("TenNCC").IsNull=(value == null);           
                    }
          }

}
}
